[Beta] Retrieve objects
⚠️ Beta Access Required
Contact your sales representative to gain access to this endpoint and start using it.
Use the /retrieval
endpoint to get recommendations of which products are relevant given a
certain context. Context is provided by user information, plus seed products. This can be used
to retrieve object to display on a PDP (single seed product) or in a cart (multiple seed products).
In order to provide retrieval, Topsort requires that events are also sent, as a source of information.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The context information for the predictions, including which metrics to predict.
The body is of type object
.
Response
The retrieval results. Each retrieved products is accompanied by their relevancy score.
The response is of type object
.